package com.heima.vip_card;

public class Vip extends Card {
    public Vip(String name, double balance) {
        super(name, balance);
    }

    @Override
    public void pay() {
        System.out.println("尊贵的VIP用户" + getName() + "余额还有" + getBalance() + "元,可打8.5折");
    }
}
